package com.kuang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Arrays;


/**
 * @Auther: dlh
 * @Date: 2020/12/10
 * @ClassName: HelloController
 * @Describle: 技术在灵魂面前必输
 * @Version:1.0
 **/

@Controller
public class IndexController {

//    @RequestMapping("/test")
//    public String test(Model model){
//        model.addAttribute("msg","<h1>hello,springboot<h1>");
//        model.addAttribute("users", Arrays.asList("鸣人","佐助","小樱"));
//        return "test";
//    }
}
